﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Index.ascx.vb" Inherits="FrontEnd_Control_News_Index" %>
<script type="text/javascript">
    $(function () {

        // Tabs define number porlet
          //  $('#tab').tabs();
        //hover states on the static widgets
        $('#dialog_link, ul#icons li').hover(
                                            function () { $(this).addClass('ui-state-hover'); },
                                            function () { $(this).removeClass('ui-state-hover'); }
                                        );

    });
</script>
<!-- porlet 1 -->
<asp:Repeater ID="rptCate" runat="server">
    <ItemTemplate>
        <div id="tab" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
            <!-- title right -->
            <!--<div class="cell_titleright">
                                   			<div class="title_shopproductright"> <a href="">Title</a></div>
                                    </div>-->
            <!-- end title right -->
            <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" >
                <!-- define tab menu porlet
                                        	<li><a href="#tabs-2">Chủ đề 1</a></li>
                                        <li><a href="#tabs-3">Chủ đề 1</a></li>
                                         -->
                <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active" >
                    <asp:HyperLink ID="hplCate" runat="server"></asp:HyperLink>
                </li>
            </ul>
            <div id="tabsporlet1_1">
                <!-- news -->
                <div class="tip_news">
                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink>
                </div>
                <p class="desc_news">
                    <asp:Image ID="img" runat="server" align="left" Style="padding: 5px 5px 5px 5px;" />
                    <asp:Label ID="lblDate" runat="server" Text=""></asp:Label>
                    <br />
                    <asp:Literal ID="ltrDesc" runat="server"></asp:Literal>
                </p>
                <div class="clear_both">
                </div>
                <div class="links_hotnews">
                    <ul>
                        <asp:Repeater ID="rptSub" OnItemDataBound="rptSub_ItemDataBound" runat="server">
                            <ItemTemplate>
                                <li>
                                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <!-- end news -->
                <div class="clear_both">
                </div>
                <div class="more_product">
                    <asp:HyperLink ID="hplMore" runat="server">Xem thêm</asp:HyperLink>
                    <img src="<%=ResolveUrl("~/FrontEnd/images/icon_more.gif")%>"  alt="" /></div>
                <div class="clear_both">
                </div>
            </div>
        </div>
        <div style="height:10px" class=" clear_both"></div>
    </ItemTemplate>
</asp:Repeater>
<!-- end porlet 1 -->
